<!DOCTYPE html>
<html lang="{$config.language}">
<head>
    {include file="common/meta" /}

    <style type="text/css">
        body {
            color: #999;
            background-color: #f1f4fd;
            background-size: cover;
        }

        a {
            color: #444;
        }


        .login-screen {
            max-width: 430px;
            padding: 0;
            margin: 100px auto 0 auto;

        }

        .login-screen .well {
            border-radius: 3px;
            -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
            box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
            background: rgba(255, 255, 255, 1);
            border: none;
            overflow: hidden;
            padding: 0;
        }

        @media (max-width: 767px) {
            .login-screen {
                padding: 0 20px;
            }
        }

        .profile-img-card {
            width: 100px;
            height: 100px;
            display: block;
            -moz-border-radius: 50%;
            -webkit-border-radius: 50%;
            border-radius: 50%;
            margin: -93px auto 30px;
            border: 5px solid #fff;
        }

        .profile-name-card {
            text-align: center;
        }

        .login-head {
            background: #899fe1;
        }

        .login-form {
            padding: 40px 30px;
            position: relative;
            z-index: 99;
        }

        #login-form {
            margin-top: 20px;
        }

        #login-form .input-group {
            margin-bottom: 15px;
        }

        #login-form .form-control {
            font-size: 13px;
        }
        .well {
            position: relative
        }

        .use-qrcode {
            position: absolute;
            top: 0;
            right: 0;
            width: 50px;
            height: 50px;
            background: url() no-repeat center;
            background-size: cover;
        }

        .use-pwd {
            position: absolute;
            top: 0;
            right: 0;
            width: 50px;
            height: 50px;
            background: url() no-repeat center;
            background-size: cover;
        }
        .logo{
            width: 100%;
            height: 60px;
            text-align: center;
            padding-top: 45px;
        }
        .logo img{
            width: 60%;
            height: 60px;
        }
        .qr-login {
            margin: 0 auto;
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background: #fff;
            z-index: 1000;
            text-align: center;
            display: block;
            background-color: gainsboro;
        }

        .qr-warp {
            padding-top: 90px;
            transition: padding-top 2s ease;
            text-align: center;
        }

        .qrcode {
            display: inline-block;
            padding: 10px;
            position: relative;
            border: solid 1px white;
            background-color: white;
            width: 50%;
            height: 200px;
            /*background-image: url("https://file.gkzzd.cn/www/gkzzd/uploads/20210816/335cbfcb4894a1801eb8c5b202f7ee72.jpg");*/
            filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale')";
            -moz-background-size:100% 100%;
            background-size:100% 100%;

        }

        .top-tip {
            display: none;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(51, 51, 51, 0.8);
        }
        .dredge{
            margin-top: 20px;
            font-size: 16px;
            font-weight: 700;
            color: white;
            cursor: pointer;
            text-decoration:underline
        }
        .tip-warp {
            display: table;
            table-layout: fixed;
            width: 100%;
            height: 100%
        }

        .tip-warp .qr-msg {
            color: #ffffff;
            display: table-cell;
            vertical-align: middle;
            width: 100%;
        }

        .qr-msg .msg {
            /*font-size: 18px;*/
            line-height: 35px;
        }

        .wechat {
            position: absolute;
            top: 40%;
            left: 40%;
        }
        
        .systems-title {
          position: absolute;
          left: 50%;
          transform: translate(-50%);
          top: 35px;
          color: #111111;
          font-size: 30px;
          font-weight: bold;
          white-space: nowrap;
        }

    </style>
    <!--@formatter:off-->
    {if $background}
        <style type="text/css">
            body{
                background-image: url('{$background}');
            }
        </style>
    {/if}
    <!--@formatter:on-->
</head>
<body>
<div class="container">
    <div class="login-wrapper">
        <div class="login-screen">
            <div class="well">
                <div class="systems-title">会员发行管理后台</div>
                <div class="login-head">
                    <img src="__CDN__/assets/img/login-head.png" style="width:100%;"/>
                </div>
                <div class="login-form">
                    <img id="profile-img" class="profile-img-card" src="__CDN__/assets/img/avatar.png"/>
                    <p id="profile-name" class="profile-name-card"></p>

                    <form action="" method="post" id="login-form">
                        <div id="errtips" class="hide"></div>
                        {:token()}
                        <div class="input-group">
                            <div class="input-group-addon"><span class="glyphicon glyphicon-user" aria-hidden="true"></span></div>
                            <input type="text" class="form-control" id="pd-form-username" placeholder="请输入手机号" name="username" autocomplete="off" value="" data-rule="required;mobile"/>
                        </div>
                        <div class="input-group">
                            <div class="input-group-addon"><span class="glyphicon glyphicon-option-horizontal" aria-hidden="true"></span></div>
                            <input  type="text" name="captcha" class="form-control" placeholder="请输入短信验证码" data-rule="required;length(6)"/>
                            <span id="getCodeId" class="input-group-addon code"  style="padding:0;border:none;cursor:pointer;padding-left: 24px;text-decoration:underline;color: blue">
                                获取验证码
                            </span>
                        </div>

<!--                        <div class="input-group">-->
<!--                            <div class="input-group-addon"><span class="glyphicon glyphicon-option-horizontal" aria-hidden="true"></span></div>-->
<!--                            <input type="password" class="form-control" id="pd-form-password" placeholder="{:__('Password')}" name="password" autocomplete="off" value="" data-rule="{:__('Password')}:required;password"/>-->
<!--                        </div>-->
<!--                        {if $Think.config.fastadmin.login_captcha}-->
<!--                        <div class="input-group">-->
<!--                            <div class="input-group-addon"><span class="glyphicon glyphicon-option-horizontal" aria-hidden="true"></span></div>-->
<!--                            <input type="text" name="captcha" class="form-control" placeholder="{:__('Captcha')}" data-rule="{:__('Captcha')}:required;length(4)"/>-->
<!--                            <span class="input-group-addon" style="padding:0;border:none;cursor:pointer;">-->
<!--                                        <img src="{:rtrim('__PUBLIC__', '/')}/index.php?s=/captcha" width="100" height="30" onclick="this.src = '{:rtrim('__PUBLIC__', '/')}/index.php?s=/captcha&r=' + Math.random();"/>-->
<!--                                    </span>-->
<!--                        </div>-->
<!--                        {/if}-->
                        <div class="form-group checkbox">
                            <label class="inline" for="keeplogin">
                                <input type="checkbox" name="keeplogin" id="keeplogin" value="1"/>
                                {:__('Keep login')}
                            </label>
                        </div>
                        <div class="form-group">
                            <button type="submit" class="btn btn-success btn-lg btn-block" style="background:#708eea;">{:__('Sign in')}</button>
                        </div>
                    </form>
                </div>
                <div class="mp-login">
                    <a class="use-qrcode" href="javascript:;" title="微信扫码登录"></a>
<!--                    <div class="qr-login" >-->
                    <div class="qr-login" style="display: none">
                        <a class="use-pwd" title="账号密码登录" href="javascript:;"></a>
                        <div class="logo"><img src="https://file.gkzzd.cn/www/gkzzd/uploads/20210811/0220d0691ec5dc58aa508605e7189b6d.png"></div>
                        <div class="qr-warp">
                            <div id="qrcode" class="qrcode">
                                <span id="ewm" style="display:none;text-align: center;line-height: 180px;color: black">二维码获取中....</span>
                                <div class="top-tip">
                                    <div class="tip-warp">
                                        <div class="qr-msg" style="">
                                            <p class="msg" style="">二维码获取失败或过期</p>
                                            <button id="qr-load" class="qr-load btn btn-warning">点击刷新</button>
                                            <input type="hidden" id="state"/>
                                        </div>
                                    </div>
                                </div>
                        </div>
                        <p style="color: #2685E3;line-height: 50px;">扫描关注公众号即可登录</p>
                        <p class="dredge">申请开通后台权限</p>
                    </div></div>
            </div>
                <form  id="bind" style="display: none;padding: 20px 20px 0px 20px">
                    <div class="input-group" style="margin-bottom: 20px">
                        <div class="input-group-addon"><span class="glyphicon glyphicon-user" aria-hidden="true"></span></div>
                        <input type="text" style="width: 65%" class="form-control" id="pd-form-username1" placeholder="请输入手机号" name="username" autocomplete="off" value="" data-rule="required;mobile"/>
                    </div>
                    <div class="input-group">
                        <div class="input-group-addon"><span class="glyphicon glyphicon-option-horizontal" aria-hidden="true"></span></div>
                        <input style="width: 55%" id="captcha" type="text" name="captcha" class="form-control" placeholder="请输入短信验证码" data-rule="required;length(6)"/>
                        <span id="getCodeId1" class="input-group-addon code1"  style="padding:0;border:none;cursor:pointer;padding-left: 24px;text-decoration:underline;color: blue">
                                获取验证码
                            </span>
                    </div>
                </form>
        </div>
    </div>
</div>
{include file="common/script" /}
</body>



</html>
